package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资产处置对象 sys_asset_disposal
 * 
 * @author sxy
 * @date 2025-04-02
 */
public class SysAssetDisposal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 处置ID */
    private Long disposalId;

    /** 资产ID */
    @Excel(name = "资产ID")
    private Long assetId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetNo;

    public String getAssetNo() {
        return assetNo;
    }

    public void setAssetNo(String assetNo) {
        this.assetNo = assetNo;
    }

    /** 处置类型 */
    @Excel(name = "处置类型")
    private String disposalType;

    /** 处置日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处置日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disposalDate;

    /** 预计处置金额 */
    @Excel(name = "预计处置金额")
    private BigDecimal expectedDisposalAmount;

    /** 实际处置金额 */
    @Excel(name = "实际处置金额")
    private BigDecimal realDisposalAmount;

    /** 处置原因 */
    @Excel(name = "处置原因")
    private String disposalReason;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long operatorId;

    public void setDisposalId(Long disposalId) 
    {
        this.disposalId = disposalId;
    }

    public Long getDisposalId() 
    {
        return disposalId;
    }
    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }
    public void setDisposalType(String disposalType) 
    {
        this.disposalType = disposalType;
    }

    public String getDisposalType() 
    {
        return disposalType;
    }
    public void setDisposalDate(Date disposalDate) 
    {
        this.disposalDate = disposalDate;
    }

    public Date getDisposalDate() 
    {
        return disposalDate;
    }
    public void setExpectedDisposalAmount(BigDecimal expectedDisposalAmount) 
    {
        this.expectedDisposalAmount = expectedDisposalAmount;
    }

    public BigDecimal getExpectedDisposalAmount() 
    {
        return expectedDisposalAmount;
    }
    public void setRealDisposalAmount(BigDecimal realDisposalAmount) 
    {
        this.realDisposalAmount = realDisposalAmount;
    }

    public BigDecimal getRealDisposalAmount() 
    {
        return realDisposalAmount;
    }
    public void setDisposalReason(String disposalReason) 
    {
        this.disposalReason = disposalReason;
    }

    public String getDisposalReason() 
    {
        return disposalReason;
    }
    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("disposalId", getDisposalId())
            .append("assetId", getAssetId())
                .append("assetNo", getAssetNo())
            .append("disposalType", getDisposalType())
            .append("disposalDate", getDisposalDate())
            .append("expectedDisposalAmount", getExpectedDisposalAmount())
            .append("realDisposalAmount", getRealDisposalAmount())
            .append("disposalReason", getDisposalReason())
            .append("operatorId", getOperatorId())
            .toString();
    }
}
